package com.dayaokeji.rhythmschoolstudent.databases.model;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.annotation.Table;
import com.litesuits.orm.db.enums.AssignType;

/**
 * Created by Gorden on 2017/9/29.
 */

@Table("notification")
public class Notification {

    public static final String TITLE = "title";
    public static final String CONTENT = "content";
    private static final String TYPE = "type";

    @PrimaryKey(AssignType.AUTO_INCREMENT)
    private int id;

    @Column(TITLE)
    private String title;

    @Column(CONTENT)
    private String content;

    @Column(TYPE)
    private String type;

    public Notification(String title, String content, String type) {
        this.title = title;
        this.content = content;
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
